<%= error_messages_for 'user' %>

<!--[form:user]-->
<p><label for="user_first_name">First name</label><br/>
<%= text_field 'user', 'first_name'  %></p>

<p><label for="user_last_name">Last name</label><br/>
<%= text_field 'user', 'last_name'  %></p>

<p><label for="user_password">Password</label><br/>
<%= password_field 'user', 'password'  %></p>

<p><label for="user_password_confirmation">Confirm Password</label><br/>
<%= password_field 'user', 'password_confirmation'  %></p>

<p><label for="user_login">Username</label><br/>
<%= text_field 'user', 'login'  %></p>

<p><label for="user_rights">Rights</label><br/>
<%= text_field 'user', 'rights'  %></p>

<p><label for="user_group">Group</label><br/>
<select id="groups" name="groups">
<%= options_from_collection_for_select @groups, :id, :name, @seleted %>
</select>
<!--[eoform:user]-->

